From 26617bb9b40c77474af6034ee54b4563deea6db6 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 15 Mar 2016 07:51:48 -0400 Subject: [PATCH] shortcutswindow: Make the search button square Add the image-button style class to this button (this doesn't work automatically here, since this is a toggle button). https://bugzilla.gnome.org/show_bug.cgi?id=763604 --- gtk/gtkshortcutswindow.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gtk/gtkshortcutswindow.c b/gtk/gtkshortcutswindow.c index 109c17fc2f..4a1b5bccb6 100644 --- a/gtk/gtkshortcutswindow.c +++ b/gtk/gtkshortcutswindow.c @@ -827,6 +827,7 @@ gtk_shortcuts_window_init (GtkShortcutsWindow *self) NULL), "visible", TRUE, NULL); + gtk_style_context_add (gtk_widget_get_style_context (search_button), "image-button"); gtk_container_add (GTK_CONTAINER (priv->header_bar), GTK_WIDGET (search_button)); priv->main_box = g_object_new (GTK_TYPE_BOX, -- 2.30.2